package com.cskaoyan.mapper.wx.llk;

import com.cskaoyan.bean.wx.llk.CollectListBean;
import com.cskaoyan.bean.wx.llk.WxCollect;
import com.cskaoyan.bean.wx.llk.WxCollectExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface WxCollectMapper {

    long countByExample(WxCollectExample example);

    int deleteByExample(WxCollectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxCollect record);

    int insertSelective(WxCollect record);

    List<WxCollect> selectByExample(WxCollectExample example);

    WxCollect selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxCollect record, @Param("example") WxCollectExample example);

    int updateByExample(@Param("record") WxCollect record, @Param("example") WxCollectExample example);

    int updateByPrimaryKeySelective(WxCollect record);

    int updateByPrimaryKey(WxCollect record);

    List<CollectListBean> selectCollectList(@Param("type") Integer type, @Param("userId") Integer userId);
}